package com.ruoyi.test;

import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;

@EnableCustomConfig
//@EnableCustomSwagger2
@EnableRyFeignClients
//@SpringCloudApplication //Spring Cloud 2020.0.x 版本后弃用
@SpringBootApplication //不再需要显示的定义@EnableDiscoveryClient，Spring Cloud 2020.0.x 版本后@EnableDiscoveryClient只是用于标注
public class MyTestApplication {
    public static void main(String[] args) {
        SpringApplication.run(MyTestApplication.class, args);
    }
}
